package cn.e4j.modular.system.entity;

import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.time.LocalDate;
import java.io.Serializable;

import org.springframework.format.annotation.DateTimeFormat;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author yuan_rz
 * @since 2019-03-12
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("SYS_LOAD")
public class SysLoad extends PO<SysLoad> {

    private static final long serialVersionUID = 1L;



    @TableField(fill = FieldFill.INSERT)
    @TableId(value = "ID", type = IdType.INPUT)
    private String ID;

    private String LOAD_NAME;

    private String LOAD_FILE;

    private String LOAD_PARAMS;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime LOAD_TRANDATE;

    ////////////////////////////////////add by hepl 20190825

    private String ONWER_PRODUCT;

    private String OWNER_PANEL;

    private String OWNER_TABLE;

    private BigDecimal ENT;

    private String SITE;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime ORIDT;

    private String OWNID;

    private String OWNDP;

    private String CRTID;

    private String CRTDP;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime CRTDT;

    private String MODID;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime MODDT;

    private String STUS;

    private String UD001;

    private String UD002;

    private String UD003;

    private String UD004;

    private String UD005;

    private String UD006;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime UD007;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime UD008;

    private BigDecimal UD009;

    private BigDecimal UD010;



    @Override
    protected Serializable pkVal() {
        return this.ID;
    }


}
